package comdemo.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 健身器材表
 * </p>
 *
 * @author 沈仁聪
 * @since 2025-08-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("fitness")
public class Fitness implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 健身器材id
     */
    @TableId(value = "fitnessid", type = IdType.AUTO)
    private Integer fitnessid;

    /**
     * 健身器材名称
     */
    private String fitnessname;

    /**
     * 健身器材图片
     */
    private String fitnessimg;

    /**
     * 健身主要作用
     */
    private String fitnessrole;

    /**
     * 健身器材购入时间
     */
    private LocalDate fitnessbuytime;

    /**
     * 器材负责人
     */
    private String fitnesshead;

    /**
     * 备注信息
     */
    private String fitnessnotes;

    /**
     * 老旧程度：几乎全新器材，轻微磨损器材，老旧器材，即将报废器材
     */
    private String fitnessnew;


}
